import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/config-ad/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getConfigAdList(params) {
    return axios.post({
        url: '/config-ad/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editConfigAd(params) {
    return axios.post({
        url: '/config-ad/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteConfigAd(params) {
    return axios.post({
        url: '/config-ad/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadConfigAd(params) {
    return axios.post({
        url: '/config-ad/load',
        data: params
    }).then((res) => {
        return res
    })
}

